DomainObjects Class Library

DeleteByCriteria.Execute Method 

Executes this delete against the database. If a transaction is in progress when the Execute method is called, then this delete will execute as part of that transaction. If a transaction is not in progress, then this delete will execute and commit as part of a new transaction.

If this delete command gets executed as part of a transaction that contains edited objects, then this command will get executed before the object modification commands are executed against the database.
public void <TargetClass>Execute(); where TargetClass: TransactableObject

See Also

DeleteByCriteria Class | DomainObjects.Facade.Command Namespace